The x position of point i on a path (0 if i is out of range).
path_point_x(p, i) -> real| Name | Type |
|---|---|
p | path |
i | int |
real
The x position of point i on a path (0 if i is out of range).
It is a place in the room, counted from the room's top-left corner, like an instance's own x.
var first_x = path_point_x(path_doc_patrol, 0);Reads the x position of path_doc_patrol's own first drawn control point.